import { HashRouter } from 'react-router-dom'
import { Suspense } from 'react'
import { RenderRoute } from '@renderer/router'
import './assets/style/tailwind.css'

function App(): JSX.Element {
  return (
    <HashRouter>
      <Suspense fallback={<div>页面加载中...</div>}>
        <RenderRoute />
      </Suspense>
    </HashRouter>
  )
}

export default App
